package com.gzu.emr.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author chuchu
 * @version 1.0
 * @date 2023-07-20
 **/

@Data
public class PrescriptionAddPraram {
    @NotNull(message = "病历号不能为空")
    private String medicalRecordId;
    @NotNull()
    private Integer status;
    @NotNull()
    private Integer count;
    @NotNull()
    private BigDecimal amount;
    @NotNull()
    private String therapy;
    @NotNull()
    private String therapyDetails;
    @NotNull()
    private String usageMeans;
    @NotNull()
    private String medicalAdvice;
    @NotNull()
    private String frequency;
    @NotNull()
    private Integer type;
}
